package cn.itsource.ymcc.service;

import cn.itsource.ymcc.common.result.JsonResult;
import cn.itsource.ymcc.domain.CourseOrder;
import cn.itsource.ymcc.dto.KillPlaceOrderDto;
import cn.itsource.ymcc.dto.PlaceOrderDto;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zcj
 * @since 2023-12-08
 */
public interface ICourseOrderService extends IService<CourseOrder> {

    JsonResult placeOrder(PlaceOrderDto orderDto,Long loginId);

    JsonResult killPlaceOrder(KillPlaceOrderDto orderDto, Long loginId);
}
